QT       += core gui opengl

TARGET = TetraSketch
TEMPLATE = app

win32 {
    LIBS += -L"C:\Program Files\GnuWin32\lib"
    INCLUDEPATH += "C:\Program Files\GnuWin32\include"
}

unix {
    LIBS += -L/opt/local/lib/
    INCLUDEPATH += /opt/local/include
}

LIBS +=  -lgsl -lgslcblas

CONFIG-=app_bundle

SOURCES += main.cpp\
    catmullrom.hpp \
    curven.hpp \
    vectorn.hpp \
        mainwindow.cpp\
        GLDisplay.cpp \
    rendercontroller.cpp \
    Object3D.cpp \
    Arcball.cpp \
    DirectionalLight.cpp \
    cubo.cpp \
    Tetrahedron.cpp \
    sketchcontroller.cpp \
    tetraquad.cpp \
    Scene3D.cpp \
    fitting.cpp \
    bernsteinpolyline.cpp \
    matrix.cpp

HEADERS  +=  catmullrom.hpp \
    curven.hpp \
    vectorn.hpp \
    mainwindow.h\
    GLDisplay.h \
    rendercontroller.h \
    Object3D.h \
    Arcball.h \
    DirectionalLight.h \
    cubo.h \
    Tetrahedron.h \
    sketchcontroller.h \
    tetraquad.h \
    Scene3D.h \
    fitting.h \
    bernsteinpolyline.h \
    matrix.h

FORMS    += mainwindow.ui

RESOURCES += \
    Shaders.qrc
